package com.ayq.activiti.manager.domain.activitimanager.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

/**
 *
 * <p>流程管理</p>
 * @Author ayq
 * @Date 2021/3/29 11:58
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
@TableName("activiti_manager")
public class ActivitiManager implements Serializable {


    private static final long serialVersionUID = 6712707139999731892L;

    @TableId
    private Long id;

    /**
     * 流程名称
     */
    @TableField("process_Name")
    private String processName;

    /**
     * 公司id
     */
    @TableField("company_Id")
    private Long companyId;

    /**
     * 系统id
     */
    @TableField("system_Id")
    private Long systemId;

    /**
     * 业务id
     */
    @TableField("business_Id")
    private Long businessId;

    /**
     * 流程定义id
     */
    @TableField("PROCDEF_id")
    private String procdefId;

    /**
     * 流程定义名称
     */
    @TableField("PROCDEF_name")
    private String procdefName;

    /**
     * 流程定义key
     */
    @TableField("PROCDEF_key")
    private String procdefKey;

    /**
     * 部署id
     */
    @TableField("DEPLOYMENT_ID_")
    private Long deploymentId;

    /**
     * 表单id
     */
    @TableField("form_Id")
    private Long formId;

    /**
     * 逻辑删除
     */
    @TableLogic
    @TableField("deleted")
    private Integer deleted;

    /**
     * 版本号
     */
    @Version
    @TableField("vsersion")
    private Integer vsersion;

    /**
     * 创建时间
     */
    @TableField("create_Time")
    private Date createTime;

    /**
     * 更新时间
     */
    @TableField("update_Time")
    private Date updateTime;

    /**
     * 创建用户id
     */
    @TableField("create_Usr_Id")
    private Long createUsrId;

    /**
     * 创建用户姓名
     */
    @TableField("create_usr_name")
    private String createUsrName;

    /**
     * 更新用户id
     */
    @TableField("update_Usr_Id")
    private Long updateUsrId;

    /**
     *
     *更新用户姓名
     */
    @TableField("update_usr_name")
    private String updateUsrName;

    /**
     * 流程状态
     */
    @TableField("status")
    private Integer status;

    /**
     *流程定义版本
     */
    @TableField("process_version")
    private Integer processVersion;

}
